package excercise;
//maker,price,commtype
public class Q39_Phone {

}
class phone{
	private String maker;
	private int price;
	private String commtype;
	public phone() {
		this.maker = ""; this.price = 0; this.commtype = "";
	}
	public phone(String maker, int price , String commtype){
		this.maker = maker; this.price = price; this.commtype = commtype;
	}
	public void setmaker(String maker){this.maker = maker;}
	public void setprice(int price){this.price = price;}
	public void setcommtype(String commtype){this.commtype = commtype;}
	public String getmaker(String maker){return maker;}
	public int getprice(int price){return price;}
	public String getcommtype(String mommtype){return commtype;}
}
